package com.linkhub.oms.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.linkhub.oms.common.enums.mp.DataStatusEnum;
import com.linkhub.oms.common.enums.mp.MatchStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户银行流水
 * </p>
 *
 * @author Frank
 * @since 2024-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_user_bank_statement")
@ApiModel(value="UserBankStatementEntity对象", description="用户银行流水")
public class UserBankStatementEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "用户银行卡号")
    @TableField("Fuser_card_number")
    private String userCardNumber;

    @ApiModelProperty(value = "公司银行卡号")
    @TableField("Fcompany_card_number")
    private String companyCardNumber;

    @ApiModelProperty(value = "转账金额")
    @TableField("Ftransfer_amount")
    private BigDecimal transferAmount;

    @ApiModelProperty(value = "到账币种")
    @TableField("Freceived_currency_type")
    private String receivedCurrencyType;

    @ApiModelProperty(value = "到账金额")
    @TableField("Freceived_amount")
    private BigDecimal receivedAmount;

    @ApiModelProperty(value = "到账时间")
    @TableField("Freceived_date")
    private LocalDate receivedDate;

    @ApiModelProperty(value = "手续费币种")
    @TableField("Ffee_currency_type")
    private String feeCurrencyType;

    @ApiModelProperty(value = "手续费")
    @TableField("Ffee")
    private BigDecimal fee;

    @ApiModelProperty(value = "到账银行流水号_财务审核")
    @TableField("Freceived_bank_statement")
    private String receivedBankStatement;

    @ApiModelProperty(value = "交易id（t_user_recharge_record.Ftransaction_id）")
    @TableField("Ftransaction_id")
    private String transactionId;

    @ApiModelProperty(value = "数据状态：0-未匹配；1-已匹配")
    @TableField("Fmatch_status")
    private MatchStatusEnum matchStatus;

    @ApiModelProperty(value = "操作人用户id")
    @TableField("Fupdate_user_id")
    private String updateUserId;

    @ApiModelProperty(value = "创建人用户id")
    @TableField("Fcreated_user_id")
    private String createdUserId;

    @ApiModelProperty(value = "数据状态：1-有效；0-无效")
    @TableField("Fdata_status")
    private DataStatusEnum dataStatus;

    @ApiModelProperty(value = "创建（交易）时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
